home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / cmplngmg / cl_jun89.arc / AWK210.ARC / PAT.AWK < prev    next >
Text File  |  1987-12-11  |  71b  |  2 lines

  1. NF==1{ if ( $1 ~ /^ab(ab|ba)*abba$/ ) print "yes" ; else print "no" }
  2.